#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// NeatlyFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion

using UnityEngine;

namespace Neatly.Load
{
    public interface ILoadObject
    {
        /// <summary>
        /// 最终加载结果的资源
        /// </summary>
        Object ResultObject { get; }

        /// <summary>
        /// 是否有错误
        /// </summary>
        bool IsError { get; }

        void Unload(bool unloadAllLoadedObjects);
    }
}